package com.lggry.object;

public class Test {
    //目标：学会创建对象
    public static void main(String[] args) {
        Star s1 = new Star();
        s1.name = "刘德华";
        s1.age = 60;
        s1.gender = "男";
        s1.height = 1.8;
        s1.weight = 80.5;

        Star s2 = new Star();
        s2.name = "宋祖英";
        s2.age = 62;
        s2.gender = "女";
        s2.height = 1.7;
        s2.weight = 50.5;
    }
}
